﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

namespace CPPProject.Migrations
{
    public partial class updateContractdetail : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            //migrationBuilder.CreateTable(
            //    name: "CPPContractDetail",
            //    columns: table => new
            //    {
            //        Id = table.Column<Guid>(nullable: false),
            //        CreationTime = table.Column<DateTime>(nullable: false),
            //        ContractNum = table.Column<string>(maxLength: 50, nullable: false),
            //        Qty = table.Column<decimal>(nullable: false),
            //        Price = table.Column<decimal>(nullable: false),
            //        PartNum = table.Column<string>(maxLength: 50, nullable: false),
            //        Name = table.Column<string>(maxLength: 500, nullable: false),
            //        Remark = table.Column<string>(nullable: true)
            //    },
            //    constraints: table =>
            //    {
            //        table.PrimaryKey("PK_CPPContractDetail", x => x.Id);
            //    });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            //migrationBuilder.DropTable(
            //    name: "CPPContractDetail");
        }
    }
}
